<template>
    <div id="app">
        <router-view></router-view>
    </div>  
</template>

<script>


export default {
    name:"app",
    mounted(){
        window.addEventListener('upload',this.saveState)
    },
    methods:{
        saveState(){
            window.sessionStorage.setItem('state',JSON.stringify(this.$store.state))
        }
    }

}
</script>

<style>

</style>
